package com.geek.factory.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 货柜基础信息表
 * </p>
 *
 * @author author
 * @since 2025-06-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("shelves")
@ApiModel(value="Shelves对象", description="货柜基础信息表")
public class Shelves implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "货柜ID，主键自增")
    @TableId(value = "shelf_id", type = IdType.AUTO)
    private Integer shelfId;

    @ApiModelProperty(value = "货柜编号")
    private String shelfCode;

    @ApiModelProperty(value = "货柜名称")
    private String shelfName;

    @ApiModelProperty(value = "货柜容量(根据单位可以是体积或重量)")
    private BigDecimal capacity;

    @ApiModelProperty(value = "容量单位(m³/kg等)")
    private String capacityUnit;

    @ApiModelProperty(value = "货位编码(如A-01-02表示A区1排2列)")
    private String locationCode;

    @ApiModelProperty(value = "状态(1启用/0停用)")
    private Boolean status;

    @ApiModelProperty(value = "创建人用户名")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;


}
